package com.dz.finance.biz.service;

import com.dz.finance.biz.dto.PhoneRegisterDTO;
import com.dz.finance.biz.vo.GenerateMpRegCodeVo;
import com.dz.finance.common.entity.Token;
import com.dz.finance.wechat.entity.MpSubscribeEventReq;

public interface MemberRegisterService {

    /*
    * 手机号注册
    * */
    Long regPhone(PhoneRegisterDTO phoneRegisterDTO);


    /*
    * 生成微信公众号二维码
    * */
    GenerateMpRegCodeVo generateMpRegCode(String clientId);


    /*
    * 监听处理关注/取消关注事件
    * */
    void handleMpSubscribeEvent(MpSubscribeEventReq event);


    /*
    * 微信公众号扫码注册
    * */
    Token regMpOpenId(String appId, String openId, String clientId);


}
